from htmlfile.testtemplate.Tool import *
from bottle import template
if __name__ == '__main__':
    name = ['zsj','lzs','cdm']
    html = template(htmldemo, name=name)
    with open("basenovel.html", 'wb') as f:
        f.write(html.encode('utf-8'))